import { Component } from "react";
import SuitHoc from "./Suit";

class Normal extends Component{
    state={
        name:'一个平平无奇的组件'
    }
    render(){
        console.log(this.props);
        return(
            <fieldset>
                <legend>普通组件</legend>
                <h1>武器:{this.props.weapon??'123'}</h1>
                <h1>技能:{this.props.skill??'456'}</h1>
                <h1>昵称:{this.props.nickname??'789'}</h1>
            </fieldset>
        )
    }
}
export default SuitHoc(Normal)